import { Extension, textInputRule } from "@tiptap/core";

export const SmilieReplacer = Extension.create({
  name: "smilieReplacer",
  priority: 102,
  addInputRules() {
    return [
      textInputRule({ 
        find: /\@SUM$/, 
        replace: "¯\\_(ツ)_/¯" 
      })
    ];
  },
});
